package com.guosheng.entity;

import net.sf.json.JSONObject;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Student extends BaseDto {

    private Integer id;

    private List<Integer> list;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public List<Integer> getList() {
        return list;
    }

    public void setList(List<Integer> list) {
        this.list = list;
    }

    public String getSql(){
        return "this is a test";
    }

   /* public static void main(String[] args){
        Student s = new Student();
        s.setId(100);
        List<Long> list = new ArrayList<Long>();
        list.add(111L);
        list.add(222L);
        list.add(333L);
        list.add(444L);
        s.setList(list);
        JSONObject json = JSONObject.fromObject(s);
        System.out.println(json);
    }*/
}
